package com.wqr.pojo;

import java.io.Serializable;
import java.util.Date;

public class PasswordInfo implements Serializable {
    /**
     * 密码修改日志ID
     */
    private Integer passwordInfoId;

    /**
     * 旧密码
     */
    private String oldPassword;

    /**
     * 新密码
     */
    private String newPassword;

    /**
     * 修改时间
     */
    private Date modifyTime;
    /**
     * 修改时间开始
     */
    private Date modifyTimeBegin;
    /**
     * 修改时间结束
     */
    private Date modifyTimeEnd;

    /**
     * 登录序号
     */
    private Integer loginId;

    /**
     * 登录明
     */
    private String loginName;
    

    private static final long serialVersionUID = 1L;

    public Integer getPasswordInfoId() {
        return passwordInfoId;
    }

    public void setPasswordInfoId(Integer passwordInfoId) {
        this.passwordInfoId = passwordInfoId;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword == null ? null : oldPassword.trim();
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword == null ? null : newPassword.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getLoginId() {
        return loginId;
    }

    public void setLoginId(Integer loginId) {
        this.loginId = loginId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public Date getModifyTimeBegin() {
		return modifyTimeBegin;
	}

	public void setModifyTimeBegin(Date modifyTimeBegin) {
		this.modifyTimeBegin = modifyTimeBegin;
	}

	public Date getModifyTimeEnd() {
		return modifyTimeEnd;
	}

	public void setModifyTimeEnd(Date modifyTimeEnd) {
		this.modifyTimeEnd = modifyTimeEnd;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", passwordInfoId=").append(passwordInfoId);
        sb.append(", oldPassword=").append(oldPassword);
        sb.append(", newPassword=").append(newPassword);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", loginId=").append(loginId);
        sb.append(", loginName=").append(loginName);
        sb.append(", modifyTimeBegin=").append(modifyTimeBegin);
        sb.append(", modifyTimeEnd=").append(modifyTimeEnd);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}